import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
    {
        path: "/",
        name: "home",
        component: () => import("../components/ProductList.vue")
    },
    {
        path: "/productList",
        name: "productList",
        component: () => import("../components/ProductList.vue")
    },
    {
        path: "/shoppingCar",
        name: "shoppingCar",
        component: () => import("../components/ShoppingCar.vue")
    }
]
const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router